package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备状态对象 device_state
 * 
 * @author ruoyi
 * @date 2023-11-10
 */
public class DeviceState extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String deviceCoding;

    /** 设备路径 */
    @Excel(name = "设备路径")
    private String devicePath;

    /** 设备属性 */
    @Excel(name = "设备属性")
    private String deviceProperty;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String deviceState;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceCoding(String deviceCoding) 
    {
        this.deviceCoding = deviceCoding;
    }

    public String getDeviceCoding() 
    {
        return deviceCoding;
    }
    public void setDevicePath(String devicePath) 
    {
        this.devicePath = devicePath;
    }

    public String getDevicePath() 
    {
        return devicePath;
    }
    public void setDeviceProperty(String deviceProperty) 
    {
        this.deviceProperty = deviceProperty;
    }

    public String getDeviceProperty() 
    {
        return deviceProperty;
    }
    public void setDeviceState(String deviceState) 
    {
        this.deviceState = deviceState;
    }

    public String getDeviceState() 
    {
        return deviceState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceName", getDeviceName())
            .append("deviceCoding", getDeviceCoding())
            .append("devicePath", getDevicePath())
            .append("deviceProperty", getDeviceProperty())
            .append("deviceState", getDeviceState())
            .toString();
    }
}
